package com.gpf.test;

import com.gpf.api.member.service.MemberService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class OrderToMember {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("consumer.xml");
        MemberService memberService = app.getBean(MemberService.class);
        String user = memberService.getUser(123L);
        System.out.println(user);
    }
}
